home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus Special 26
/
AMIGAplus Sonderheft 26 (2000)(Falke)(DE)(Track 1 of 2)[!].iso
/
Tools
/
SFX-Player
/
Mpeg
/
mpegaudio_datatype
/
mpegaudiotest
< prev
next >
Wrap
Text File
|
1999-03-29
|
776b
|
36 lines
; mpegaudio.datatype test script
; Execute it from the base directory
FailAt 10
Set ECHO ON
; Is here the datatype shared library ?
If EXISTS "mpegaudio.datatype.ld"
; Check if we created the test directory
If NOT EXISTS "RAM:DataTypes"
MakeDir "RAM:DataTypes"
Assign LIBS: RAM: ADD
EndIf
; Copy descriptor
If NOT EXISTS "RAM:MPEG Audio"
Copy CLONE FROM="MPEG Audio(%|.info)" TO="RAM:"
EndIf
; Copy class library
Copy CLONE FROM="mpegaudio.datatype.ld" TO="RAM:Datatypes/mpegaudio.datatype"
; Copy "maplay" audio decoder
If NOT EXISTS "RAM:maplay"
Copy CLONE FROM="maplay" TO="RAM:"
Assign maplay: ram:
EndIf
; Get rid of the old version
C:FlushLibs
Else
ECHO "No mpegaudio.datatype.ld in this directory"
Quit 10
EndIf